home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / olrdrs / pq214.zip / POWHELP.EXE / HELP.129 < prev    next >
Text File  |  1991-06-14  |  2KB  |  48 lines

  1. External Program Command Masks
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. An External Program Command Mask takes the general form
  4.  
  5.            [drive][\path\]program_name[.ext] [parameters]
  6.  
  7. This instructs Power-QWK to invoke the named program, passing it
  8. the supplied parameters, just as though the mask were typed at the
  9. DOS Command Line.
  10.  
  11. When a default mask is supplied to Configuration Manager, the
  12. program_name must include the file name extension [.ext] because
  13. a search is made for the existence of the actual file (using the
  14. PATH if necessary). 
  15.  
  16. If the mask is being supplied following a press of Shift/Tab then
  17. any command format may be supplied - it is simply passed to the
  18. Operating System command processor which decides for itself
  19. whether it is acceptable or not. An extension may be supplied but
  20. will be ignored.
  21.  
  22. [parameters] may be omitted if required.
  23.  
  24. If supplied, [parameters] may include a % character, indicating
  25. the point within the string where Power-QWK is to insert the name
  26. of the file which is about to be processed (i.e., the name of the
  27. file containing the information or bulletin which is currently on
  28. display).
  29.  
  30. If [parameters] are omitted, or supplied but with no % character,
  31. then Power-QWK simply appends the file name, preceded by a space
  32. character, to the supplied string.
  33.  
  34. For example, if you supply the mask
  35.  
  36.                    myprog
  37.  
  38. then Power-QWK will execute the command 'myprog file_name'.
  39.  
  40. If you supply the mask
  41.  
  42.                    myprog %/t
  43.  
  44. then Power-QWK will execute the command 'myprog file_name/t'.
  45.  
  46. If [parameters] contains more than one % character, all but the
  47. first are deleted.
  48.